package com.zhongwang.business.module.quoteManage.quoteManageDao;

import com.zhongwang.business.gen.entity.*;
import com.zhongwang.business.module.basic.model.SysUserModel;
import com.zhongwang.business.module.quoteManage.quoteManageModel.QuotationMainModel;
import com.zhongwang.business.module.quoteManage.quoteManageModel.QuotationSublistModel;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *  报价任务管理 接口
 *  * @author zcy
 *  * @date 2020/11/2
 */
@Repository
public interface QuotationQueryDao {
    List<QuotationMainModel> selectQuotationQueryList(QuotationMainModel query);

//    SysUserModel findOrgMinisterByAccount(String account);

//    List<Task> selectQttTaskListByQuoteId(Integer quoteId);

    void updateTask(Task task);

    List<QuotationSublist> selectQttSubListByQuoteId(Integer quoteId);

    List<QuotationMainModel> selectQuoteRevNoList(QuotationMainModel quotationMainModel);

//    List<QuotationMainModel> selectQttHistoryList(QuotationMainModel query);

    List<QuotationMainModel> selectQuoteSearchlist(QuotationMainModel query);

    SysUserModel findUserInfoByAccount(String account);

    List<QuotationSublistModel> selectQttProNameList(Integer quoteId);

    List<Task> selectTaskListByQuoteId(Integer quoteId);

    List<QuotationSublistModel> selectComplTaskList(Integer quoteId);

    List<QttSubTaskRel> selectQttSubTaskRelList(Integer quoteId);
}
